package cn.wsalix.biz.service;

import java.util.List;
import java.util.Observer;

import cn.anlaser.service.CommonService;
import cn.wsalix.biz.entity.Article;
import cn.wsalix.biz.entity.Category;
import cn.wsalix.biz.form.ArticleForm;
import cn.wsalix.biz.repository.ArticleRepository;

public interface ArticleService extends
		CommonService<ArticleForm, ArticleRepository, Article>, Observer {

	List<Article> findByCatoryId(Long catoryId);

	public Article getNew();

	void addCat(Long artId, Category category);
	
	public void delCat(Long artId, Long catId) ;
}
